//
//  BusTicketGuestAddCell.swift
//  SwiftTestDemo
//
//  Created by John on 2018/5/22.
//  Copyright © 2018年 company. All rights reserved.
//

import UIKit

protocol BusTicketGuestAddTitleCellDelegate {
    
    func guestTitleAddDelegate()
    
}

class BusTicketGuestAddCell: UITableViewCell {
    @IBOutlet weak var imgAdd: UIImageView!
    @IBOutlet weak var lblAdd: UILabel!
    @IBOutlet weak var btnAdd: UIButton!
    var delegate:BusTicketGuestAddTitleCellDelegate?
    
    @IBAction func didPressedGuestTitleAdd(_ sender: UIButton) {
        
        self.delegate?.guestTitleAddDelegate()
        
    }
    
    
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
        self.lblAdd.textColor = def_text_Blue
        self.lblAdd.font = font_List_Bold
        self.btnAdd.layer.masksToBounds = true
        self.btnAdd.layer.cornerRadius = 6
        self.btnAdd.layer.borderColor = def_text_Blue.cgColor
        self.btnAdd.layer.borderWidth = 1
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
